package com.jinbo.footmessage;

import com.jinbo.footmessage.httpbean.WorkerInformationBean;

import java.util.Comparator;

public class OrderComparator implements Comparator<WorkerInformationBean> {

	public int compare(WorkerInformationBean o1, WorkerInformationBean o2) {
		if (o1.getOrder_number()> o2.getOrder_number())
			return -1;
		else
			return 1;
	}

}
